package com.cy.ppj.model.ao.mall;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;

/**
 * @Description 品牌推荐 （新增、编辑）保存字段
 * @Author tanyilin
 * @Date 2019/9/26 16:26
 */
@Data
@ApiModel("品牌推荐 （新增、编辑）保存字段")
public class BrandRecommendSaveAO {

    @ApiModelProperty(value = "品牌ID", example = "0")
    @NotNull(message = "品牌不可为空")
    private Long brandId;

    @ApiModelProperty(value = "品牌名称")
    private String       name;

    @ApiModelProperty(value = "排序", example = "0")
    @NotNull(message = "排序不可为空")
    private Integer      weight;

    @ApiModelProperty(value = "推荐语1")
    private String recommendedLanguage1;

    @ApiModelProperty(value = "推荐语2")
    private String recommendedLanguage2;

    @ApiModelProperty(value = "推荐语3")
    private String recommendedLanguage3;

    @ApiModelProperty(value = "banner图地址path")
    @NotEmpty(message = "banner图不可为空")
    private String bannerPath;
}
